package com.qst.pojo;

import java.io.Serializable;

/**
 * @packageName:com.qst.pojo
 * @className:Admin
 * @Description:
 * @author:zhangyu
 * @date 2021/6/16 14:37
 **/


public class Admin implements Serializable {
    private int id;
    private String loginname;
    private String password;
    private int power;
    private String other;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public Admin() {
    }

    public Admin(int id, String loginname, String password, int power, String other) {
        this.id = id;
        this.loginname = loginname;
        this.password = password;
        this.power = power;
        this.other = other;
    }


    @Override
    public String toString() {
        return "Admin{" +
                "id=" + id +
                ", loginname='" + loginname + '\'' +
                ", password='" + password + '\'' +
                ", power=" + power +
                ", other='" + other + '\'' +
                '}';
    }
}
